#define _CRT_SECURE_NO_WARNINGS 1
#include"STList.h"

//void test1()
//{
//	STLnode* plist = NULL;
//	STLPushfront(&plist, 1);
//	STLPushfront(&plist, 2);
//	STLPushfront(&plist, 3);
//	STLPushfront(&plist, 4);
//	STLPushfront(&plist, 5);
//	STLPopfront(&plist);
//	STLprint(plist);
//}
//void test2()
//{
//	STLnode* plist = NULL;
//	STLPushback(&plist, 1);
//	STLprint(plist);
//}
void test3()
{
	 STLnode * plist = NULL;
		STLPushfront(&plist, 1);
		STLPushfront(&plist, 2);
		STLPushfront(&plist, 3);
		STLPushfront(&plist, 4);
		STLPushfront(&plist, 5);
		STLPopback(&plist);
		STLprint(plist);
}
int main()
{
	/*test1();*/
	//test2();
	test3();
	return 0;
}